package com.samehope.ar.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 线路更新参数
 * @Author: ZhangLuo
 * @Email: 1946430@qq.com
 */
@Data
public class RouteUpdateParam {

    @NotNull(message = "线路ID不能为空")
    private Long routeId;

    @NotBlank(message = "线路名称不能为空")
    private String routeName;

    @NotEmpty(message = "点位集合不能为空")
    private List<RoutePointParam> points;

    private Integer isTemp;

}
